package com.sise.foodplatform.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class QueryInfo {
    private String query;//查询信息 username
    private int pageNum = 1;//当前页
    private int pageSize = 1;//每页最大数

    public QueryInfo(String query, int pageNum, int pageSize) {
        this.query = query;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
    }
}
